package com.wuye.repository;

import com.wuye.model.UserAddress;
import com.wuye.model.repair.Category;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by jiawenlong on 2016/7/26.
 */
public interface UserAddressRepository extends PagingAndSortingRepository<UserAddress, Long> {
    List<UserAddress> findAll();
    List<UserAddress> findByUserId(String userId);
}
